//
//  气缸操作界面
//
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts

Item {
    id: manualAirCylinderBack
    width: 1800
    height: 670


    // Rectangle{      // 整体背景
    //     anchors.fill: parent
    //     color: "gold"

    //     Text{
    //         anchors.centerIn: parent
    //         font.pixelSize: 50
    //         font.bold: true
    //         text: qsTr("气缸操作")
    //     }
    // }

    Column{
        anchors.horizontalCenter: parent.horizontalCenter
        Item{
            width: 1700
            height: 240

            Rectangle{
                width: 1600
                height: 2
                anchors.top: parent.top
                anchors.horizontalCenter: parent.horizontalCenter
                color: "black"
            }

            Rectangle{
                anchors.left: parent.left
                anchors.verticalCenter: parent.verticalCenter
                width: 100
                radius: 30
                height: 100
                color: "gray"
                Rectangle{
                    anchors.left: parent.left
                    anchors.verticalCenter: parent.verticalCenter
                    width: 30
                    height: parent.height
                    color: "white"
                }
                Text{
                    anchors.right: parent.right
                    anchors.rightMargin: 20
                    anchors.verticalCenter: parent.verticalCenter
                    font.pixelSize: 20
                    font.bold: true
                    color: "white"
                    text: qsTr("上料")
                }
            }

            Row{
                anchors.top: parent.top
                anchors.topMargin: 10
                anchors.left: parent.left
                anchors.leftMargin: 130
                spacing: 30

                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("侧压1")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("侧压2")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("侧压3")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("侧压4")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("侧压5")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("侧压6")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("侧压7")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("侧压8")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("侧压9")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("侧压10")
                }
            }

            Row{
                anchors.top: parent.top
                anchors.topMargin: 70
                anchors.left: parent.left
                anchors.leftMargin: 130
                spacing: 30

                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("侧压11")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("侧压12")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("侧压总压紧")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("侧压总松开")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("托料辊升起")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("夹爪翻转")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("夹爪夹紧")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("下压1")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("下压2")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("下压3")
                }
            }
            Row{
                anchors.top: parent.top
                anchors.topMargin: 130
                anchors.left: parent.left
                anchors.leftMargin: 130
                spacing: 30

                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("翻转1")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("翻转2")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("翻转3")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("辅助压紧1")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("辅助压紧2")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("辅助压紧3")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("辅助压紧4")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("挡板升起")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("变频正转")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("变频反转")
                }
            }
            Row{
                anchors.top: parent.top
                anchors.topMargin: 190
                anchors.left: parent.left
                anchors.leftMargin: 130
                spacing: 30

                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("上料扶框1")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("上料扶框2")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("上料扶框3")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("上料吹屑")
                }                
            }


            Rectangle{
                width: 1600
                height: 1
                anchors.bottom: parent.bottom
                anchors.horizontalCenter: parent.horizontalCenter
                color: "black"
            }
        }
        Item{
            width: 1700
            height: 200

            Rectangle{
                width: 1600
                height: 1
                anchors.top: parent.top
                anchors.horizontalCenter: parent.horizontalCenter
                color: "black"
            }

            Rectangle{
                anchors.left: parent.left
                anchors.verticalCenter: parent.verticalCenter
                width: 100
                radius: 30
                height: 100
                color: "gray"

                Rectangle{
                    anchors.left: parent.left
                    anchors.verticalCenter: parent.verticalCenter
                    width: 30
                    height: parent.height
                    color: "white"
                }

                Text{
                    anchors.right: parent.right
                    anchors.rightMargin: 20
                    anchors.verticalCenter: parent.verticalCenter
                    font.pixelSize: 20
                    font.bold: true
                    color: "white"
                    text: qsTr("钻铣")
                }

            }


            Row{
                anchors.top: parent.top
                anchors.topMargin: 20
                anchors.left: parent.left
                anchors.leftMargin: 130
                spacing: 30

                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("入口托起侧出")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("入口侧压")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("入口下压")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("左侧侧压")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("左侧下压")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("右侧下压")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("右侧侧压")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("前主轴伸出")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("后主轴伸出")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("上主轴伸出")
                }
            }
            Row{
                anchors.top: parent.top
                anchors.topMargin: 80
                anchors.left: parent.left
                anchors.leftMargin: 130
                spacing: 30

                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("下主轴伸出")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("斜主轴伸出")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("前激光伸出")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("后激光伸出")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("前主轴启动")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("后主轴启动")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("上主轴启动")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("下主轴启动")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("斜主轴启动")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("前激光启动")
                }
            }
            Row{
                anchors.top: parent.top
                anchors.topMargin: 140
                anchors.left: parent.left
                anchors.leftMargin: 130
                spacing: 30

                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("后激光启动")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("前主轴冷却")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("后主轴冷却")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("上主轴冷却")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("下主轴冷却")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("斜主轴冷却")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("X轴吹屑")
                }
            }



            Rectangle{
                width: 1600
                height: 1
                anchors.bottom: parent.bottom
                anchors.horizontalCenter: parent.horizontalCenter
                color: "black"
            }
        }
        Item{
            width: 1700
            height: 120

            Rectangle{
                width: 1600
                height: 1
                anchors.top: parent.top
                anchors.horizontalCenter: parent.horizontalCenter
                color: "black"
            }

            Rectangle{
                anchors.left: parent.left
                anchors.verticalCenter: parent.verticalCenter
                width: 100
                radius: 30
                height: 100
                color: "gray"

                Rectangle{
                    anchors.left: parent.left
                    anchors.verticalCenter: parent.verticalCenter
                    width: 30
                    height: parent.height
                    color: "white"
                }

                Text{
                    anchors.right: parent.right
                    anchors.rightMargin: 20
                    anchors.verticalCenter: parent.verticalCenter
                    font.pixelSize: 20
                    font.bold: true
                    color: "white"
                    text: qsTr("锯切")
                }

            }

            Row{
                anchors.top: parent.top
                anchors.topMargin: 20
                anchors.left: parent.left
                anchors.leftMargin: 130
                spacing: 30

                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("入口抬升轮")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("入口吹屑")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("入口侧压")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("入口辅助侧压")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("入口下压")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("左45启动")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("90启动")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("右45启动")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("左45冷却")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("右45冷却")
                }
            }

            Row{
                anchors.top: parent.top
                anchors.topMargin: 70
                anchors.left: parent.left
                anchors.leftMargin: 130
                spacing: 30

                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr(" 90度" +"\n"+ "伸出·冷却")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("出口侧压")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("出口辅助侧压")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("出口下压")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("出口吹屑")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("堆废料")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("角码主轴启动")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("角码主轴冷却")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("角码Z轴吹屑")
                }
            }


            Rectangle{
                width: 1600
                height: 1
                anchors.bottom: parent.bottom
                anchors.horizontalCenter: parent.horizontalCenter
                color: "black"
            }
        }
        Item{
            width: 1700
            height: 120

            Rectangle{
                width: 1600
                height: 1
                anchors.top: parent.top
                anchors.horizontalCenter: parent.horizontalCenter
                color: "black"
            }

            Rectangle{
                anchors.left: parent.left
                anchors.verticalCenter: parent.verticalCenter
                width: 100
                radius: 30
                height: 100
                color: "gray"

                Rectangle{
                    anchors.left: parent.left
                    anchors.verticalCenter: parent.verticalCenter
                    width: 30
                    height: parent.height
                    color: "white"
                }

                Text{
                    anchors.right: parent.right
                    anchors.rightMargin: 20
                    anchors.verticalCenter: parent.verticalCenter
                    font.pixelSize: 20
                    font.bold: true
                    color: "white"
                    text: qsTr("下料")
                }

            }


            Row{
                anchors.verticalCenter: parent.verticalCenter
                anchors.left: parent.left
                anchors.leftMargin: 130
                spacing: 30

                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("托料台升起+")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("变频旋转")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("贴标下降气缸")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("贴标吸附")
                }
                A_Button{
                    buttonWidth: 120
                    buttonHeight: 40
                    contentText_Data: qsTr("贴标吹气")
                }
            }

            Rectangle{
                width: 1600
                height: 2
                anchors.bottom: parent.bottom
                anchors.horizontalCenter: parent.horizontalCenter
                color: "black"
            }
        }
    }



}
